<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
// API 模板文件，可以复制
namespace api\resource\controller;

use think\Db;
use think\Request;
use think\Validate;
use cmf\controller\RestBaseController;

class Biao45Controller extends RestBaseController
{


    public function one($data)
    {

        //查 这个表的数据
        @$new_data = $data[0]['content'];
        if (empty($new_data)) {
            return '';
        }

       $html = '
       <div style="width: 650px;margin: 0 auto;">
            <div style="font-size: 16px;font-weight: 600;margin-bottom: 15px;">七、企业创新能力</div>
            <table border="1" cellspacing="0px" cellpadding="5px" width="650">
                <tbody>
                <tr>
                    <td>
                        <div>知识产权对企业竞争力的作用（限400字）</div>
                        '.@$new_data->text1.'
                    </td>
                </tr>
                <tr>
                    <td>
                        <div>科技成果转化情况（限400字）</div>
                        '.@$new_data->text2.'
                    </td>
                </tr>
                <tr>
                    <td>
                        <div>研究开发与技术创新组织管理情况（限400字）</div>
                        '.@$new_data->text3.'
                    </td>
                </tr>
                <tr>
                    <td>
                        <div>管理与科技人员情况（限400字）</div>
                        '.@$new_data->text4.'
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        ';

            return $html;

    }



}
